package com.poi.exp.domain;

import java.io.Serializable;

import com.poi.util.JackJsonUtil;

/**
 * 基础mobel
 * 
 * @author tarena
 *
 */
public class BaseModel implements Serializable {

	/**
	 * 序列化
	 */
	private static final long serialVersionUID = 1730845223570017283L;

	private ModelType type;

	public BaseModel() {
		super();
	}

	public BaseModel(ModelType type) {
		super();
		this.type = type;
	}

	public ModelType getType() {
		return type;
	}

	public void setType(ModelType type) {
		this.type = type;
	}

	@Override
	public String toString() {
		return JackJsonUtil.objToJson(this);
	}
}
